package com.ruoyi.system.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * appBanner对象 t_app_banner
 * 
 * @author DEREK
 * @date 2023-12-06
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_app_banner")
public class AppBanner
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 轮播图地址 */
    @Excel(name = "轮播图地址")
    private String bannerPath;

    /** 轮播图说明 */
    @Excel(name = "轮播图说明")
    private String bannerExplain;

    /** 业务ID 跳转对应页面
0=不跳转 */
    @Excel(name = "业务ID 跳转对应页面0=不跳转")
    private Integer businessId;

    /** 访问类型:api,url */
    @Excel(name = "访问类型:api,url")
    private String requestType;

    /** 请求地址 */
    @Excel(name = "请求地址")
    private String requestUrl;

    /** 数据源1=动态 */
    @Excel(name = "数据源1=动态")
    private Integer type;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUser;

    /** 是否删除:0有效，1无效 */
    @Excel(name = "是否删除:0有效，1无效")
    private String isDelete;

    private Date createTime;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerPath", getBannerPath())
            .append("bannerExplain", getBannerExplain())
            .append("businessId", getBusinessId())
            .append("requestType", getRequestType())
            .append("requestUrl", getRequestUrl())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("isDelete", getIsDelete())
            .toString();
    }
}
